package com.yangyao.microserviceoauth2.authority.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 权限表
 * 
 * @author yangyao
 * @email 742425545@qq.com
 * @date 2019-12-06 16:36:39
 */
@Data
@TableName("tb_permission")
public class Permission implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 父权限
	 */
	private Long parentId;
	/**
	 * 权限名称
	 */
	private String name;
	/**
	 * 权限英文名称
	 */
	private String enname;
	/**
	 * 授权路径
	 */
	private String url;
	/**
	 * 备注
	 */
	private String description;
	/**
	 * 
	 */
	private Date created;
	/**
	 * 
	 */
	private Date updated;

}
